package com.guigu.impl;

import com.guigu.OrderDetailsService;
import com.guigu.mapper.OrderDetailsMapper;
import com.guigu.pojo.OrderDetails;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderDetailsServiceImpl implements OrderDetailsService {
    @Autowired
    private OrderDetailsMapper orderDetailsMapper;

    @Override
    public int insert(OrderDetails orderDetails) {
        return orderDetailsMapper.insert(orderDetails);
    }
}
